package net.sx.minemodule.mvp.bean;

import com.kedll.library.adapter.MultiTypeAdapter;
import com.kedll.library.mvp.BaseModel;

import net.sx.minemodule.mvp.item.AfterItem;

import java.io.Serializable;
import java.util.List;

public class AfterBean extends BaseModel<AfterItem> implements Serializable {

    private String num;
    private String sid;
    private List<AfterGoodsBean> commoditylist;
    private BasicBean basic;

    public String getNum() {
        return num;
    }

    public void setNum(String num) {
        this.num = num;
    }

    public String getSid() {
        return sid;
    }

    public void setSid(String sid) {
        this.sid = sid;
    }

    public List<AfterGoodsBean> getCommoditylist() {
        return commoditylist;
    }

    public void setCommoditylist(List<AfterGoodsBean> commoditylist) {
        this.commoditylist = commoditylist;
    }

    public BasicBean getBasic() {
        return basic;
    }

    public void setBasic(BasicBean basic) {
        this.basic = basic;
    }

    public class BasicBean {
        /**
         * "Factorysid": "5zM/08IR4i77k1TT6DgYYpDTFrNdsOZ7KwuEMK6LhfaM2a+kvSU6EUNx3LA70A7V",
         * "Factorytitle": "南极人",
         * "after": "0",
         * "price": 203,
         * "oceannum": 0,
         * "tsid": "giYMBTFdGWT56L1AkehGccE5SDJ9LwWVm3+VFTm4KU05nhOSAQHq9IhQ1VuCzhRM"
         */
        private String Factorysid;
        private String Factorytitle;
        private String after;
        private int type;
        private int schedule;
        private String price;
        private String oceannum;
        private String tsid;

        public String getFactorysid() {
            return Factorysid;
        }

        public void setFactorysid(String factorysid) {
            Factorysid = factorysid;
        }

        public String getFactorytitle() {
            return Factorytitle;
        }

        public void setFactorytitle(String factorytitle) {
            Factorytitle = factorytitle;
        }

        public String getAfter() {
            return after;
        }

        public void setAfter(String after) {
            this.after = after;
        }

        public int getType() {
            return type;
        }

        public void setType(int type) {
            this.type = type;
        }

        public int getSchedule() {
            return schedule;
        }

        public void setSchedule(int schedule) {
            this.schedule = schedule;
        }

        public String getPrice() {
            return price;
        }

        public void setPrice(String price) {
            this.price = price;
        }

        public String getOceannum() {
            return oceannum;
        }

        public void setOceannum(String oceannum) {
            this.oceannum = oceannum;
        }

        public String getTsid() {
            return tsid;
        }

        public void setTsid(String tsid) {
            this.tsid = tsid;
        }
    }

    @Override
    public AfterItem createItem(MultiTypeAdapter adapter) {
        return new AfterItem(this);
    }
}
